package dblayer;

import java.util.ArrayList;

import modellayer.Type;

public interface IFDBType {

	public ArrayList<Type> getAllTypes();
	
	public Type searchByID(int id);
	public Type searchByType(String type);
	public Type searchByDescription(String description);
	
	public int insertType(Type type) throws Exception;
	public int updateType(Type type);
	public int deleteType(int id);
}
